package org.vison.wonfu.framework.dao.spi;

import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.vison.wonfu.framework.config.utils.MultiLevelConfigProvider;

@Configuration
public class DaoAutoConfigure {


    @Bean
    public EntityDefineChecker entityDefineChecker(MultiLevelConfigProvider multiLevelConfigProvider, SqlSessionFactory sqlSessionFactory) {
        return new EntityDefineChecker(multiLevelConfigProvider,sqlSessionFactory);
    }

}
